08. Make Better Controls

Task Description:

So now we’ve seen how to make a simple play/pause control with the spacebar as the key, but obviously this doesn’t work for VR. Modify your script to use the Google VR Controller as a trigger.

Play and pause may not be the only controls we would like - perhaps we also want to be able to restart our film when we get to the end. Add a restart button somewhere unobtrusive in your scene, and add the necessary code to your script so that when a user gazes at the button and pulls the trigger, the video will restart.

Hint: If you find yourself stuck, go back to the VR Design section of the course and view the lesson Graphical User Interfaces in Unity.

Task List:

Task Feedback:

Great job!

Project Preview:
In game controls added.